public class Test {
    public static void main(String[] args) {
       Dog dog1 = new Dog();
       dog1.name="小花";
       dog1.age=2;
       dog1.color="黑色";
       dog1.bark();
       dog1.sleep();

        System.out.println("######a");
        Dog dog2 = new Dog();
        dog2.name="小白";
        dog2.age=1;
        dog2.color="白色";
        dog2.bark();
        dog2.sleep();
    }
}
